package com.yswy.backstage.dto.res;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author 19401
 * @date 2022/6/10 15:09
 **/
@Data
public class PermissionPageResVO {
    private Long id;
    @ApiModelProperty("父级")
    private Long pId;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("权限名称")
    private String permissionName;
    @ApiModelProperty("权限类型（1:目录 2:菜单 3:按钮 4:接口）")
    private Integer permissionType;
    @ApiModelProperty("地址")
    private String path;
    @ApiModelProperty("组件路径")
    private String component;
    @ApiModelProperty("icon")
    private String icon;
    @ApiModelProperty("排序")
    private Integer orderBy;

    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("冻结状态 true:冻结 false:不冻结")
    private Boolean freezingSatus;

    private List<PermissionPageResVO> children;
}
